﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YunSpace.Domain.Entity.OrderFlowManage;

namespace YunSpace.Domain.ViewModel.OrderFlowManage
{
    public class ClientOrderViewModel
    {
        #region ClientOrder
        ///// <summary>
        ///// 场地二次订单表
        ///// </summary>
        //public ClientOrderEntity ClientOrder { get; set; }

        ///<summary>
        /// 编号
        /// </summary>
        public string F_Id { get; set; }

        public string orderId { get; set; }

        ///<summary>
        /// 需求编号
        /// </summary>
        public string F_DemandId { get; set; }

        public string F_WorkFormId { get; set; }

        ///<summary>
        /// 销售人员编号
        /// </summary>
        public string F_FlowUserId { get; set; }

        ///<summary>
        /// 原来销售人员编号--做让单操作
        /// </summary>
        public string F_OldFlowUserId { get; set; }

        ///<summary>
        /// 销售人员
        /// </summary>
        public string F_FlowUserName { get; set; }

        ///<summary>
        /// 订单阶段0指派1场地推荐2带看场地3意向场地4价格谈判5场地预定6签订合同7订单完成
        /// </summary>
        public Nullable<int> F_OrderState { get; set; }

        ///<summary>
        /// 当前状态的进度0等待确认1通过2驳回
        /// </summary>
        public Nullable<int> F_OrderStateProcess { get; set; }

        ///<summary>
        /// 创建时间
        /// </summary>
        public Nullable<DateTime> F_CreatorTime { get; set; }

        ///<summary>
        /// 修改时间
        /// </summary>
        public Nullable<DateTime> F_LastModifyTime { get; set; } 
        #endregion

        ///<summary>
        /// 0400电话1销售自拓
        /// </summary>
        public string F_Source { get; set; }

        /////<summary>
        ///// 品牌项目组编号
        ///// </summary>
        //public string F_ProjectId { get; set; }

        ///<summary>
        /// 活动主题
        /// </summary>
        public string F_ActivityTheme { get; set; }

        ///<summary>
        /// 活动类型
        /// </summary>
        public string F_ActivityType { get; set; }

        ///<summary>
        /// 预算金额
        /// </summary>
        public Nullable<decimal> F_DemandCash { get; set; }

        ///<summary>
        /// 是否踢单
        /// </summary>
        public Nullable<bool> F_SignOut { get; set; }

        ///<summary>
        /// 活动开始时间
        /// </summary>
        public Nullable<DateTime> F_ActivityStartDate { get; set; }

        ///<summary>
        /// 活动结束时间
        /// </summary>
        public Nullable<DateTime> F_ActivityEndDate { get; set; }

        ///<summary>
        /// 活动城市
        /// </summary>
        public string F_ActivityCityId { get; set; }

        ///<summary>
        /// 活动城市
        /// </summary>
        public string F_ActivityCityName { get; set; }

        ///<summary>
        /// 场地类型
        /// </summary>
        public string F_SiteType { get; set; }

        ///<summary>
        /// 场地类型
        /// </summary>
        //public string F_SiteTypeName { get; set; }

        public string F_ActivityTypeName { get; set; }
        
        ///<summary>
        /// 场地面积
        /// </summary>
        public Nullable<decimal> F_SiteArea { get; set; }

        ///<summary>
        /// 层高
        /// </summary>
        public string F_Height { get; set; }

        ///<summary>
        /// 配套服务Json字符串
        /// </summary>
        public string F_Mating { get; set; }

        ///<summary>
        /// 意向场地Json对象
        /// </summary>
        public string F_Intention { get; set; }

        ///<summary>
        /// 备注
        /// </summary>
        public string F_Note { get; set; }

        ///<summary>
        /// 需求单状态草稿0转订单1无效2
        /// </summary>
        public Nullable<int> F_State { get; set; }

        ///<summary>
        /// 联系人
        /// </summary>
        public string F_Contact { get; set; }

        ///<summary>
        /// 客户名称
        /// </summary>
        public string F_ClientName { get; set; }

        public string reportState { get; set; }

        /// <summary>
        /// 是否包含回访记录
        /// </summary>
        public bool IsContainReturnVisitRecord { get; set; }


        /// <summary>
        /// 联系人id
        /// </summary>
        public string F_ContactId { get; set; }

        /// <summary>
        /// 客户id
        /// </summary>
        public string F_ClientId { get; set; }
        /// <summary>
        /// 关闭理由
        /// </summary>
        public string F_ChangeReason { get; set; }
    }
}
